@font-face {
  font-family: Pitagon;
  src: url("../fonts/PitagonSansMono/PitagonSansMono-Regular.woff2") format("woff2");
  src: url("../fonts/PitagonSansMono/PitagonSansMono-Bold.woff2") format("woff2");
  src: url("../fonts/PitagonSansMono/PitagonSansMono-BoldItalic.woff2") format("woff2");
  src: url("../fonts/PitagonSansMono/PitagonSansMono-Italic.woff2") format("woff2");
  src: url("../fonts/PitagonSansMono/PitagonSansMono-Light.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}




/* --------------------------- ELEMENTS --------------------------- */

* {
  font-family: Pitagon;
}

html {
  height: 100%;

  margin: 0;
  padding: 0;

  font-size: 20px;

  background: linear-gradient(146deg, #ff9400, #90f031, #2beec3);
  background-size: 600% 600%;
  animation: BackgroundAnimation 60s ease infinite;
  /* background: linear-gradient(24deg, rgba(19, 210, 221, 1) 0%, rgba(228, 183, 41, 1) 100%); */
}

#wrapper {
/*   height: 100%; */
  min-height: 95vh;
  padding: 0.7em;
/*   height:  100%; */
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

#home {
  position: absolute;
  left: 0.5vw;
  top: 0.5vw;
  opacity: 0.3;
}
#home:hover {
  opacity: 1;
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

button {
  padding: 10px 20px;
  margin: 10px;

  border-radius: 100px;
  border: 1px black solid;
  cursor: pointer;

  background-color: #1fe0;
  /* Transparent */
}

footer {
  width: 100%;
  height: calc(5vh - 5px); /* Minus the progression bar height */
  box-sizing: border-box;
  
  display: flex;

}

footer p {
  font-size: 0.8rem;
  margin: 10px;
  width: 100%;
  text-align: right;
  align-self: flex-end;
}



/* --------------------------- CLASSES --------------------------- */

.mini {
  font-size: 0.5rem;
  line-height: 0.1rem;
}

.italic {
  font-style: italic;
}

.vertical_align {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.horizontal_align {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.file {
  /*  margin: ;*/
  /*  text-wrap: no-wrap;*/
}

.section {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}

.section_title {
  font-weight: bold;
  text-decoration: underline;
}

/* --------------------------- IDS --------------------------- */

#progression {
/*  position: fixed;*/
  display: none;
  width: 100%;
  box-sizing: border-box;
  height: 5px;
  background-color: #f009;
}
#progression #correct {
  display: block;
  background-color:#0a09;
  margin: 0;
  padding: 0;
  width: 50%;
  height: 100%;
}

#title {
  margin-top: 0;
  padding-bottom: 1rem;
  padding-left: 15%;
  /* For the border-bottom to expand more */
  padding-right: 15%;
  /* For the border-bottom to expand more */

  border-bottom: 1px black solid;

  font-size: 1rem;
}


#file_selection {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#file_selection h1 {
  text-align: center;
}

#file_selection #files {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}



#question_container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#question {
  width: 90%;
  box-sizing: border-box;
  text-align: center;
}

#question #info {
  font-size: 1.5rem;
}

#question p {
  font-size: 2rem;
}

#true,
#false {
  font-size: 1.25rem;
  font-weight: bold;
}

#true {
  background-color: #60f354;
}

#false {
  background-color: #f45353;
}


#answer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;

  margin-bottom: 1rem;
}






/* Media queries */
@media only screen and (max-width: 768px) {
  /* For mobile phones : */
  html {
    font-size: 16px;
  }
}






/* ANIMATIONS */

@-webkit-keyframes BackgroundAnimation {
  0% {
    background-position: 49% 0%
  }

  50% {
    background-position: 52% 100%
  }

  100% {
    background-position: 49% 0%
  }
}

@-moz-keyframes BackgroundAnimation {
  0% {
    background-position: 49% 0%
  }

  50% {
    background-position: 52% 100%
  }

  100% {
    background-position: 49% 0%
  }
}

@-o-keyframes BackgroundAnimation {
  0% {
    background-position: 49% 0%
  }

  50% {
    background-position: 52% 100%
  }

  100% {
    background-position: 49% 0%
  }
}

@keyframes BackgroundAnimation {
  0% {
    background-position: 49% 0%
  }

  50% {
    background-position: 52% 100%
  }

  100% {
    background-position: 49% 0%
  }
}









/* Rounded slider : https://uiverse.io/Bodyhc/red-lionfish-43 (Copyright - 2023 Bodyhc (Abdullah M Soliman) ) */
.random_switch .switch {
  display: none;
}

.random_switch .switch + label {
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  color: #78768d;
  cursor: pointer;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 12px;
  line-height: 15px;
  position: relative;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.random_switch .switch + label::before,
  .random_switch .switch + label::after {
  content: '';
  display: block;
}

.random_switch .switch + label::before {
  background-color: #05012c;
  border-radius: 500px;
  height: 15px;
  margin-right: 8px;
  -webkit-transition: background-color 0.125s ease-out;
  transition: background-color 0.125s ease-out;
  width: 25px;
}

.random_switch .switch + label::after {
  background-color: #fff;
  border-radius: 13px;
  box-shadow: 0 3px 1px 0 rgba(37, 34, 71, 0.05), 0 2px 2px 0 rgba(37, 34, 71, 0.1), 0 3px 3px 0 rgba(37, 34, 71, 0.05);
  height: 13px;
  left: 1px;
  position: absolute;
  top: 1px;
  -webkit-transition: -webkit-transform 0.125s ease-out;
  transition: -webkit-transform 0.125s ease-out;
  transition: transform 0.125s ease-out;
  transition: transform 0.125s ease-out, -webkit-transform 0.125s ease-out;
  width: 13px;
}

.random_switch .switch + label .switch-x-text {
  display: block;
  margin-right: .3em;
}

.random_switch .switch + label .switch-x-toggletext {
  display: block;
  font-weight: bold;
  height: 15px;
  overflow: hidden;
  position: relative;
  width: 25px;
}

.random_switch .switch + label .switch-x-unchecked,
  .random_switch .switch + label .switch-x-checked {
  left: 0;
  position: absolute;
  top: 0;
  -webkit-transition: opacity 0.125s ease-out, -webkit-transform 0.125s ease-out;
  transition: opacity 0.125s ease-out, -webkit-transform 0.125s ease-out;
  transition: transform 0.125s ease-out, opacity 0.125s ease-out;
  transition: transform 0.125s ease-out, opacity 0.125s ease-out, -webkit-transform 0.125s ease-out;
}

.random_switch .switch + label .switch-x-unchecked {
  opacity: 1;
  -webkit-transform: none;
  transform: none;
}

.random_switch .switch + label .switch-x-checked {
  opacity: 0;
  -webkit-transform: translate3d(0, 100%, 0);
  transform: translate3d(0, 100%, 0);
}

.random_switch .switch + label .switch-x-hiddenlabel {
  position: absolute;
  visibility: hidden;
}

.random_switch .switch:checked + label::before {
  background-color: #00fffd;
}

.random_switch .switch:checked + label::after {
  -webkit-transform: translate3d(10px, 0, 0);
  transform: translate3d(10px, 0, 0);
}

.random_switch .switch:checked + label .switch-x-unchecked {
  opacity: 0;
  -webkit-transform: translate3d(0, -100%, 0);
  transform: translate3d(0, -100%, 0);
}

.random_switch .switch:checked + label .switch-x-checked {
  opacity: 1;
  -webkit-transform: none;
  transform: none;
}
